Optimal. Leaf size=15 \[ \sinh ^{-1}(x)-\frac{2 x}{\sqrt{x^2+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0040774, antiderivative size = 15, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 15, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.133, Rules used = {385, 215} \[ \sinh ^{-1}(x)-\frac{2 x}{\sqrt{x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 385
Rule 215
Rubi steps
\begin{align*} \int \frac{-1+x^2}{\left (1+x^2\right )^{3/2}} \, dx &=-\frac{2 x}{\sqrt{1+x^2}}+\int \frac{1}{\sqrt{1+x^2}} \, dx\\ &=-\frac{2 x}{\sqrt{1+x^2}}+\sinh ^{-1}(x)\\ \end{align*}
Mathematica [A] time = 0.0119162, size = 15, normalized size = 1. \[ \sinh ^{-1}(x)-\frac{2 x}{\sqrt{x^2+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.006, size = 14, normalized size = 0.9 \begin{align*}{\it Arcsinh} \left ( x \right ) -2\,{\frac{x}{\sqrt{{x}^{2}+1}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.45842, size = 18, normalized size = 1.2 \begin{align*} -\frac{2 \, x}{\sqrt{x^{2} + 1}} + \operatorname{arsinh}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 1.51439, size = 108, normalized size = 7.2 \begin{align*} -\frac{2 \, x^{2} +{\left (x^{2} + 1\right )} \log \left (-x + \sqrt{x^{2} + 1}\right ) + 2 \, \sqrt{x^{2} + 1} x + 2}{x^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [B] time = 3.45313, size = 31, normalized size = 2.07 \begin{align*} \frac{x^{2} \operatorname{asinh}{\left (x \right )}}{x^{2} + 1} - \frac{2 x}{\sqrt{x^{2} + 1}} + \frac{\operatorname{asinh}{\left (x \right )}}{x^{2} + 1} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.08485, size = 34, normalized size = 2.27 \begin{align*} -\frac{2 \, x}{\sqrt{x^{2} + 1}} - \log \left (-x + \sqrt{x^{2} + 1}\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]